<!-- Income Index Grid Section -->
<section id="expense-index" class="bg-light-gray">
  <div class="container">
    <div class="row well">
      <div class="col-lg-12">
        <% if true %>
          <div>
            <%= link_to 'Add New Expense', new_expense_path, { :class=>"btn btn-success btn-lg", :style=>"margin-top:10px;" } %>
          </div>
        <% end %>
      </div>
    </div>

    <div class="row">
      <% @expenses.each do |expense| %>
        <div class="media row">
          <div class="media-left media-middle col-md-3 col-sm-5">
            <%= link_to(image_tag(expense.avatar_url, :class=>"img-rounded", :size=>"120x120"), expense_path(expense)) %>
          </div>
          <div class="media-body">
            <h4 class="media-heading"><%= expense.source%></h4>
            ...
          </div>
        </div>
      <% end %>

    </div>
  </div>
</section>
